package com.cpecc.manager.wuzi;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cpecc.dao.wuzi.BianMaDao;
import com.cpecc.model.wuzi.BianMa;

@Service
@Transactional
public class BianMaManager {

	@Autowired
	private BianMaDao bianMaDao;
	
	public void save(BianMa bianMa){
		bianMaDao.save(bianMa);
	}
	
	public BianMa getBianMa(String wuLiaoBM){
		return bianMaDao.getBianMa(wuLiaoBM);
	}
	
	public boolean delete(BianMa bianMa){
		return bianMaDao.delete(bianMa);
	}
}
